package com.petadoption.serverclient.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.petadoption.serverclient.entity.Swipe;
import com.petadoption.serverclient.mapper.SwipeMapper;
import com.petadoption.serverclient.service.ISwipeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SwipeServiceImpl extends ServiceImpl<SwipeMapper, Swipe> implements ISwipeService {

    @Resource
    private SwipeMapper swipeMapper;

    @Override
    public List<Swipe> findSwipeAll() {
        return swipeMapper.selectList(null);
    }
}
